project(YOLO-RKNN)

add_subdirectory(yolov8)
add_subdirectory(preprocess)
add_subdirectory(postprocess)
add_subdirectory(yolo_threadpool)
add_subdirectory(videofile)

add_executable(${PROJECT_NAME} main.cpp)

target_include_directories(${PROJECT_NAME} PUBLIC 
        ${OpenCV_INCLUDE_DIRS}
        ${Preprocess_INCLUDE}
        ${Yolov8_INCLUDE}
        ${Postprocess_INCLUDE}
        ${Yolo_threadpool_INCLUDE}
        ${Videofile_INCLUDE}
        ${TIME_INCLUDE}
)


target_link_libraries(${PROJECT_NAME} PUBLIC 
        yolov8
        preprocess 
        postprocess 
        yolo_threadpool
        videofile
        ${OpenCV_LIBS}
)
